/**
 * jims
 */
package com.jims.master.modules.physical.entity;

import com.jims.master.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

/**
 * Entity
 * @author zp
 * @version 2017-06-21
 */
public class TResultGroup extends DataEntity<TResultGroup> {
	
	private static final long serialVersionUID = 1L;
	private String clinicId;		// 门诊ID
	private String officeId;		// 体检科室ID
	private String itemId;		// 项目ID
	private String itemName;		// 项目名称
	private String isOk;		// 是否完成分检(0.未完成1.完成2.弃检)
	private String isAdd;		// 是否附加(0.不附加1.附加)
	private String clinicName;
	private String chargeId;
	private String units;
	private String itemCode;

	private  String deptId;
	private TResultItem tResultItem;
	
	public TResultGroup() {
		super();
	}

	public TResultGroup(String id){
		super(id);
	}

	@Length(min=1, max=64, message="门诊ID长度必须介于 1 和 64 之间")
	public String getClinicId() {
		return clinicId;
	}

	public void setClinicId(String clinicId) {
		this.clinicId = clinicId;
	}
	
	@Length(min=1, max=64, message="体检科室ID长度必须介于 1 和 64 之间")
	public String getOfficeId() {
		return officeId;
	}

	public void setOfficeId(String officeId) {
		this.officeId = officeId;
	}
	
	@Length(min=1, max=64, message="项目ID长度必须介于 1 和 64 之间")
	public String getItemId() {
		return itemId;
	}

	public void setItemId(String itemId) {
		this.itemId = itemId;
	}
	
	@Length(min=0, max=200, message="项目名称长度必须介于 0 和 200 之间")
	public String getItemName() {
		return itemName;
	}

	public void setItemName(String itemName) {
		this.itemName = itemName;
	}

	public String getIsOk() {
		return isOk;
	}

	public void setIsOk(String isOk) {
		this.isOk = isOk;
	}

	public String getIsAdd() {
		return isAdd;
	}

	public void setIsAdd(String isAdd) {
		this.isAdd = isAdd;
	}

	public String getClinicName() {
		return clinicName;
	}

	public void setClinicName(String clinicName) {
		this.clinicName = clinicName;
	}

	public String getChargeId() {
		return chargeId;
	}

	public void setChargeId(String chargeId) {
		this.chargeId = chargeId;
	}

	public String getUnits() {
		return units;
	}

	public void setUnits(String units) {
		this.units = units;
	}

	public String getItemCode() {
		return itemCode;
	}

	public void setItemCode(String itemCode) {
		this.itemCode = itemCode;
	}

	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}

	public TResultItem gettResultItem() {
		return tResultItem;
	}

	public void settResultItem(TResultItem tResultItem) {
		this.tResultItem = tResultItem;
	}
}